package functions;
import main.ContingencyTable;


public class LaplaceFunction extends GeneralFunction {

	public LaplaceFunction(String name) {
		super(name);
	}

	@Override
	public double calculate(ContingencyTable t) {
		return (t.f11() + 1.0) / (t.f1p() + 2.0);
	}

}
